<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$this->load->helper('url');
?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
         
	<title>细菌质谱分类鉴定数据库</title>
         <script type="text/javascript">
            window.onload=function(){
                //写入
                var oneInner = document.createElement("div");
                var newText = document.createTextNode('数据暂时仅对内部人员开放，查看数据进入页面登录管理员！');
                
                oneInner.setAttribute("style","background:white;text-align:center;color:black;position:absolute;width:40%;font-size:20px;box-shadow: 0 0 100px #5B5B5B;border:solid 3px #5B5B5B;cursor:pointer;");
                oneInner.appendChild(newText)
                var oneButton = document.createElement("input");
                oneButton.setAttribute("type","button");
                oneButton.setAttribute("value","x");
                oneButton.setAttribute("style","float:right");
                if (oneButton.style.cssFloat)
                {
                    oneButton.style.cssFloat="right"
                }
                else
                {oneButton.style.styleFloat="right"}
                oneInner.appendChild(oneButton);
                document.body.appendChild(oneInner);

                //定时器
                var a1a = setInterval(moves,100);
                //函数
 

                var x = 5;
                var y = 5;

                function moves(){
                    var tops = oneInner.offsetTop
                    var lefts = oneInner.offsetLeft

                    if (lefts>=document.documentElement.clientWidth-oneInner.offsetWidth||lefts<=0)
                    {
                        x=-x
                    }

                    if (tops>=document.documentElement.clientHeight-oneInner.offsetHeight||tops<=0)
                    {
                        y=-y
                    }

                    tops+=y;
                    lefts+=x;

                    oneInner.style.top=tops+"px"
                    oneInner.style.left=lefts+"px"
                }

                //悬停停止
                oneInner.onmouseover=function(){
                    clearInterval(a1a);
                }
                //放手继续运动
                oneInner.onmouseout=function(){
                    a1a =setInterval(moves,100);
                }
                //删除
                oneButton.onclick=function(){
                    document.body.removeChild(oneInner);
                }
            }
        </script>

	<style type="text/css">

	::selection { background-color: #E13300; color: white; }
	::-moz-selection { background-color: #E13300; color: white; }

	body {
                  background-image: url("<?php echo base_url()?>image/back.jpg");
                  background-repeat: no-repeat;
                  <!-- background-size: 890px auto;-->
                  background-size: 90%;
                  background-position-x: 50%;
		margin: 40px 10px 40px 10px;
		font: 50px/130px normal Helvetica, Arial, sans-serif;
		color: #4F5155;
	}

	a {
		color: #003399;
		background-color: transparent;
		font-size: 48px;
		font-weight: normal;
	}
         a:hover
         {
              color:white;
         }
	h1 {
		color: #444;
		background-color: transparent;
		border-bottom: 1px solid #FFFFFF;
		font-size: 76px;
		font-weight: normal;
		margin: 0 0 14px 0;
		padding: 14px 15px 10px 15px;
	}

	code {
		font-family: Consolas, Monaco, Courier New, Courier, monospace;
		font-size: 12px;
		background-color: #f9f9f9;
		border: 1px solid #D0D0D0;
		color: #002166;
		display: block;
		margin: 14px 0 14px 0;
		padding: 12px 10px 12px 10px;
	}

	#body {
		margin: 0 15px 0 15px;
	}

	p.footer {
		text-align: right;
		font-size: 11px;
		border-top: 1px solid #D0D0D0;
		line-height: 32px;
		padding: 0 10px 0 10px;
		margin: 20px 0 0 0;
	}

	#container {
                  <!--margin: 100px 400px 0 400px; #D0D0D0-->
                  width：50%;
                  position-x: 50%;
		margin-top: 150px;
		border: 2px solid #FFFFFF;
		box-shadow: 0 0 100px #FFFFFF;
                  border-radius: 5%

	}
	</style>
</head>
<body>

<div id="container">
	<h1 style="text-align:center;">数据库</h1>

	<div id="body" style="text-align:center;">
		<a href='<?php echo site_url('c_notice/')?>' style="text-decoration:none" alt='副溶血弧菌' title='副溶血弧菌'>》》细菌质谱分类鉴定《《
		</a>

	</div>
</div>

</body>
</html>